import request from '@/utils/request'

// 查询品牌详情列表
export function listBrandli(query) {
  return request({
    url: '/system/brandli/list',
    method: 'get',
    params: query
  })
}

// 查询品牌详情详细
export function getBrandli(id) {
  return request({
    url: '/system/brandli/' + id,
    method: 'get'
  })
}

// 新增品牌详情
export function addBrandli(data) {
  return request({
    url: '/system/brandli',
    method: 'post',
    data: data
  })
}

// 修改品牌详情
export function updateBrandli(data) {
  return request({
    url: '/system/brandli',
    method: 'put',
    data: data
  })
}

// 删除品牌详情
export function delBrandli(id) {
  return request({
    url: '/system/brandli/' + id,
    method: 'delete'
  })
}
